<?php
/* --------------------------------------------------------------
   gm_counter_submenu.php 2008-05-05 gambio
   Gambio OHG
   http://www.gambio.de
   Copyright (c) 2008 Gambio OHG
   Released under the GNU General Public License (Version 2)
   [http://www.gnu.org/licenses/gpl-2.0.html]
   --------------------------------------------------------------
*/
	defined('_VALID_XTC') or die('Direct Access to this location is not allowed.');

if($_GET['action'] == 'gm_box_submenu_visitor') {
?>

<span class="main" onclick="gm_get_content('<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_counter_visitor&subpage=daily');	?>', 'gm_counter_pages', '<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_box_submenu_visitor'); ?>')"><?php echo MENU_TITLE_DAILY; ?></span> | 
<span class="main" onclick="gm_get_content('<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_counter_visitor&subpage=monthly');	?>', 'gm_counter_pages', '<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_box_submenu_visitor'); ?>')"><?php echo MENU_TITLE_MONTHLY; ?></span> | 
<span class="main" onclick="gm_get_content('<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_counter_visitor&subpage=yearly');	?>', 'gm_counter_pages', '<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_box_submenu_visitor'); ?>')"><?php echo MENU_TITLE_YEARLY; ?></span> 

<?php 

} elseif($_GET['action'] == 'gm_box_submenu_pages') {

?>

<span class="main" onclick="gm_get_content('<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_counter_pages&subpage=today');	?>', 'gm_counter_pages', '<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_box_submenu_pages'); ?>')"><?php echo MENU_TITLE_TODAY; ?></span> | 
<span class="main" onclick="gm_get_content('<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_counter_pages&subpage=all');	?>', 'gm_counter_pages', '<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_box_submenu_pages'); ?>')"><?php echo MENU_TITLE_ALL; ?></span> 

<?php 

	} elseif($_GET['action'] == 'gm_box_submenu_user') {

?>

<span class="main" onclick="gm_get_content('<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_counter_user&subpage=1');		?>', 'gm_counter_user', '<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_box_submenu_user'); ?>')"><?php echo MENU_TITLE_BROWSER; ?></span> | 
<span class="main" onclick="gm_get_content('<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_counter_user&subpage=2');		?>', 'gm_counter_user', '<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_box_submenu_user'); ?>')"><?php echo MENU_TITLE_PLATFORM; ?></span> | 
<span class="main" onclick="gm_get_content('<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_counter_user&subpage=3');		?>', 'gm_counter_user', '<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_box_submenu_user'); ?>')"><?php echo MENU_TITLE_RESOLUTION; ?></span> |
<span class="main" onclick="gm_get_content('<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_counter_user&subpage=4');	?>', 'gm_counter_user', '<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_box_submenu_user'); ?>')"><?php echo MENU_TITLE_COLOR_DEPTH; ?></span> | 
<span class="main" onclick="gm_get_content('<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_counter_user&subpage=5');	?>', 'gm_counter_user', '<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_box_submenu_user'); ?>')"><?php echo MENU_TITLE_ORIGIN; ?></span>

<?php 

	} elseif($_GET['action'] == 'gm_box_submenu_search') {

?>

<span class="main" onclick="gm_get_content('<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_counter_search&subpage=intern');	?>', 'gm_counter_search', '<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_box_submenu_search'); ?>')"><?php echo MENU_TITLE_INTERN_SEARCH; ?></span> | 
<span class="main" onclick="gm_get_content('<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_counter_search&subpage=extern');	?>', 'gm_counter_search', '<?php echo xtc_href_link('gm_counter_action.php', 'action=gm_box_submenu_search'); ?>')"><?php echo MENU_TITLE_EXTERN_SEARCH; ?></span> 

<?php 

	} 

?>
